<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>源辰-管理员信息</title>
<link rel="shortcut icon" href="../../images/copylogo.png" type="image/x-icon" />
<link rel="stylesheet" href="../css/common.css">
<link rel="stylesheet" href="../css/main.css">
</head>
<body>
<div id="table" class="mt10">
	<div class="box span10 oh">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
			<thead>
				<tr>
                   	<th width="100">管理员图像</th>
					<th width="100">管理员编号</th>
                   	<th width="100">管理员姓名</th>
                   	<th width="100">操作</th>
                </tr>
             </thead>
             <tbody id="admin_info" align="center">
             
             </tbody>
		</table>
	</div>
</div>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
	$.get("../../admin",{op:"findAll"},data =>{
		if(data.code ==200){
			var str = "";
			$.each(data.data,function(index,item){
				str += "<tr><td><img src='../../"+item.photo+"' width='50px' height='50px' /></td>";
				str += "<td>"+item.aid+"</td><td>"+item.aname+"</td><td>";	
				str += "<a href='javascript:void(0)' onclick=''>[删除]</a>&nbsp;&nbsp;<a href='javascript:void(0)' >[重置密码]</a>";
				str +="</td></tr>";

			});
			$("#admin_info").append($(str));
		}
	},"json");
})

</script>
</body>
</html>